<%@ page pageEncoding="UTF-8" contentType="text/html; charset=UTF-8"%>
<%@ page isELIgnored="false"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta http-equiv="Cache-Control" content="no-cache" />
<meta name="viewport"
	content="width=device-width; initial-scale=1.0; minimum-scale=1.0; maximum-scale=2.0" />
<meta name="MobileOptimized" content="320" />


<!--loading加载蒙版-->

<style>
</style>

<title>电影哟</title>

<!-- layout 设置每个页面必须载入-->

</head>
<body>
<c:forEach items="${files}" var="file" varStatus="idx">
	<table width="100%">
		<tbody>
			<tr  width="10%"><td>${file.name}</td></tr>
			<tr>
				<td  width="10%">
				<video id="example" height="100%" width="100%" controls="true" autobuffer="true">
						<source src="play?fileId=${idx.index}" type="video/mp4">
           <p>您的浏览器不支持HTML5 &lt;video&gt; 标签</p> 
       			</video></td>
			</tr>
		</tbody>
	</table>
</c:forEach>
</body>
</html>


<!-- 
<html>
<body>

<c:forEach items="${files}" var="file" varStatus= "idx">
    ${file.name}
   <div>
	<video id="example" height="256" width="592" controls="true"
		autobuffer="true">
		<source src="http://192.168.10.193:8080/videoPlay/play?fileId=${idx.index}"
			type="video/mp4">
            <p>您的浏览器不支持HTML5 &lt;video&gt; 标签</p> 
        
	</video>	
	</div>
</c:forEach> 
</body>
</html>
 -->